<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>编辑</title>
		<link rel="stylesheet" type="text/css" href="../css/commonBookTest.css">
		<script type="text/javascript"
			src="${CONTEXT_ROOT }/fckeditor/fckeditor.js"></script>
		<style type="text/css">
				body {
					font-family: 华文楷体;
					color: #000000;
					background-color: #556b2f;
				}
				a:active{color:#ffffff;text-decoration:none;}
				a:visited{color:#96CFFC;text-decoration:none;}
				
				
				a:hover{color:yellow;text-decoration:underline;}
				.ta {
					background-color: #ffffff;
					position: absolute;
					left: 100px;
					top: 30px;
				}
				
				.td00 {
					font-family: 华文楷体;
					color: #000000;
				}
				#TA{visibility:hidden; 
				}
				
			</style>
	</head>
	<body>
		<form method="post" action="${CONTEXT_ROOT }/SysNoticeServlet"
			name="form1">
			<table width="700" border="1" class="ta">
				<th height="50" colspan="2">
					公告内容
				<tr>
					<td align="right" valign="top" width="100px">
						公告编号&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
					<td width="600px">
						${notice.noticeId}<input type="hidden" value="${notice.noticeId}" name="noticeId">
					</td>
				</tr>

				<tr>
					<td align="right" valign="top">
						标题&nbsp;&nbsp;&nbsp;&nbsp;
					</td><td>
						<textarea  cols="70" rows="1"
							name="noticeTitle">${notice.noticeTitle }</textarea>
					</td>
				</tr>
				<tr>
					<td align="right" valign="top">
						发表时间&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
					<td>
					${notice.noticeDate }<textarea  name="noticeContent" id="TA" cols="5" rows="1">${notice.noticeContent }</textarea><input type="hidden" value="${notice.noticeDate }" name="noticeDate">
					</td>
				</tr>
				<tr height="230px">
					<td align="right" valign="top">
						内容&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
					<td align="left">
							<script type="text/javascript">
								var oFCKeditor = new FCKeditor("noticeContent");
								oFCKeditor.BasePath = "${CONTEXT_ROOT }/fckeditor/";
								oFCKeditor.Height = 230;
								oFCKeditor.ToolbarSet = 'Basic';
								oFCKeditor.Create();
							
							</script></td>
				</tr>
				<tr>
					<td>
						&nbsp;
					</td>
					<td align="center">
						<input type="submit" name="button" value="修改">
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="reset" name="button" value="重置">
						<input type="hidden" name="method" value="update">
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>